import { configureStore } from '@reduxjs/toolkit'
import user from './modules/user'
import app from './modules/app'
import drawer from './modules/drawer'
import option from './modules/admin'
const store = configureStore({
    reducer: {
        app,
        drawer,
        user,
        option
    }
})


export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch
export default store